fix(Segment): make segment.direction() return normalized direction - #1321
Conversation
Cpp-Linter Report
|
| const auto P1mP0 = segment0.direction() * segment0.length(); | ||
| const auto Q1mQ0 = segment1.direction() * segment1.length(); |
There was a problem hiding this comment.
maybe better to create a vector (segment1.p0 -> segment1.p1) instead of doing the normalization then the denormalisation
| const InfiniteLine< dimension >& line ) | ||
| { | ||
| const auto segDirection = segment.direction(); | ||
| const auto segDirection = segment.direction() * segment.length(); |
|
🎉 This PR is included in version 18.0.0-rc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 18.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.